<template>
  <div id="app">
    <p>这里是page1</p>
    <p>{{ values }}</p>
    <TheWelcome @SomeEvent="click1" />
  </div>
</template>
<script>
import TheWelcome from './TheWelcome.vue'

export default {
  data() {
    return {
      values: ''
    }
  },
  components: {
    TheWelcome
  },
  methods: {
    click1(data) {
      this.values = data;
    }
  }
}
</script>